﻿<%@ Page Title="" Language="C#" MasterPageFile="~/design_page/admin/admin.master" AutoEventWireup="true" CodeFile="admin_class_add.aspx.cs" Inherits="design_page_admin_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style3
        {
            width: 91px;
            height: 26px;
        }
        .style4
        {
            height: 26px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style="text-align: center; margin-right: auto; margin-left: auto; height: 166px;">
          <div style="text-align: center; margin-right: auto; margin-left: auto; width: 668px;" >
        <table cellpadding="0" cellspacing="11" class="style19">
            <tr>
                      <td style="vertical-align: bottom; height: 129px; text-align: right; width: 91px;">
                          &nbsp;操作类型:</td>
                <td 
                    class="style27" style="vertical-align: bottom; text-align: left">
                          <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True">
                              <asp:ListItem>添加新班级</asp:ListItem>
                              <asp:ListItem>添加任课教师</asp:ListItem>
                          </asp:DropDownList>
                </td>
                <td 
                    class="style27" style="text-align: left; vertical-align: bottom;">
                          &nbsp;</td>
            </tr>
            <tr>
                      <td style="vertical-align: bottom; text-align: right; " class="style3">
                          班级ID:</td>
                <td 
                    class="style4" style="vertical-align: bottom; text-align: left">
                          <asp:TextBox ID="TextBox1" runat="server" Width="180px"></asp:TextBox>
                          <asp:DropDownList ID="DropDownList3" runat="server" Height="22px" Width="184px" 
                               onselectedindexchanged="select_tid_show_tname"  Visible="false"
                              AutoPostBack="True">
                          </asp:DropDownList>
                         
                      

                </td>
                <td 
                    class="style4" style="text-align: left; vertical-align: bottom;">
                          <asp:Label ID="Label1" runat="server" Text="*班级ID4位，前2位表学院，后2位表班级，唯一"></asp:Label>
                </td>
            </tr>
            <tr>
                      <td style="width: 91px; text-align: right; height: 22px;">
                          任课教师ID:</td>
                <td class="style15">
                          <asp:DropDownList ID="DropDownList1" runat="server" Height="22px" Width="184px" 
                               onselectedindexchanged="select_tid_show_tname" 
                              AutoPostBack="True">
                          </asp:DropDownList>
                         
                      </td>
                <td style="text-align: left">
                          <asp:Label ID="Label2" runat="server" Text="*任课教师ID只可选择列表中已存在的ID值"></asp:Label>
                      </td>
            </tr>
            <tr>
                      <td style="width: 91px; text-align: right;">
                          教师名称:</td>
                <td class="style15">
                          <asp:TextBox ID="TextBox2" runat="server" Width="180px" Enabled="False"></asp:TextBox>
                      </td>
                <td style="text-align: left">
                          <asp:Label ID="Label6" runat="server" Text="*自动填写"></asp:Label>
                      </td>
            </tr>
            <tr>
                      <td style="width: 91px; text-align: right; height: 29px;">
                          班级名称:</td>
                <td class="style15" style="height: 29px">
                          <asp:TextBox ID="TextBox4" runat="server" Width="180px"></asp:TextBox>
                      </td>
                <td style="text-align: left; height: 29px;">
                          <asp:Label ID="Label5" runat="server" Text="*班级名称格式如：2010软件工程3班"></asp:Label>
                      </td>
            </tr>
            <tr>
                <td class="style16"  colspan="3">
                                             <table cellpadding="0" cellspacing="0" class="style1" style="height: 59px">
                                                 <tr>
                                                     <td style=" width: 65px; height: 31px;">
                                                         &nbsp;</td>
                                                     <td style=" width: 72px; vertical-align: bottom;text-align: left; height: 31px;">
                                             <asp:Button ID="Button2" runat="server" Height="23px" Text="添加" Width="73px" 
                                                             onclick="Button2_Click" />
                                                         </td>
                                                     <td style=" width: 23px; vertical-align: bottom;text-align: left; height: 31px;">
                                             <asp:Button ID="Button3" runat="server" Height="23px" Text="重置" Width="73px" 
                                                             onclick="Button3_Click" />
                                                         </td>
                                                     <td style=" width: 74px; vertical-align: bottom;text-align: left; height: 31px;">
                                                         &nbsp;</td>
                                                     <td style=" text-align: left; vertical-align: bottom; height: 31px; width: 118px;">
                                                         &nbsp;</td>
                                                    
                                                 </tr>
                                                 <tr>
                                                     <td style=" text-align: left; vertical-align: bottom; right: 44px; height: 22px;" 
                                                         colspan="5">
                                                         <asp:Label ID="Label7" runat="server" Text="Label" Visible="False"></asp:Label>
                                                     </td>
                                                 </tr>
                                                 <tr>
                                                     <td style=" text-align: left; vertical-align: bottom; right: 44px;" colspan="5">
                                                         &nbsp;</td>
                                                 </tr>
                                             </table>
                </td>
            </tr>
        </table>
       </div> 
    </div>

</asp:Content>

